#ifndef XGMESSAGESQUEUE_H
#define XGMESSAGESQUEUE_H

class XgMessagesQueue;

#include "Interfaces/XgMessage.h"

/************************************************************************/
/* XgMessagesQueue                                                      */
/************************************************************************/
class XgMessagesQueue
{
public:
	void postMessage( XgMessage* msg );
	void exec();

public:
	bool getMessage(XgMessage** xgmsg);
	bool peekMessage(XgMessage** xgmsg);
	void processMessage(XgMessage* xgmsg);
};

#endif //XGMESSAGESQUEUE_H